package com.yuke.cloud.service.cmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.cmc.dto.CmsAppTopicDataDetailDto;
import com.yuke.cloud.service.cmc.entity.CmsAppTopicData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmsAppTopicDataMapper extends MyMapper<CmsAppTopicData> {

    int deleteByTopicIds(List<Long> topicIds);
    List<CmsAppTopicData> listByCondition(@Param("cmsAppTopicData") CmsAppTopicData cmsAppTopicData);
    List<CmsAppTopicDataDetailDto> getAppListByTopicIds(List<Long> topicIds);
    List<CmsAppTopicDataDetailDto> getAppListByTopicId(Long topicId);
    List<CmsAppTopicData> getDataListByIds(List<Long> ids);
}